package com.wsm.common.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;

/**
 * 开关表
 *
 * @author wangshimin
 * @email wangshiminhome@foxmail.com
 * @date 2020-02-08 12:27:30
 */
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_close" )
public class CloseDO implements Serializable {
	private static final long serialVersionUID = 1L;

	//开关表id
	@TableId
	private Long id;
	//名称
	private String name;
	//类型
	private String model;
	//开关值
	private String flag;
	//描述
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private String desc;

}
